<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var cats = {
        while: '50cm',
        type: '活泼,调皮',
        age: 2,
        kill:['抓家具,刨沙坑'],
       fn: function () {
            console.log('1');   
        }
      }
      console.log(cats.type);
    </script>
  </body>
</html>
